package cn.com.homeyoda.aimate.aihealth.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

public class MultipleItem<T> implements MultiItemEntity {
    public static final int MEMBER = 1;
    public static final int ADD = 2;
    public static final int KP_BANNER = 3;
    public static final int KP_NORMAL = 4;

    private final int itemType;
    private final T data;

    public MultipleItem(int itemType, T data) {
        this.itemType = itemType;
        this.data = data;
    }

    @Override
    public int getItemType() {
        return itemType;
    }

    public T getData() {
        return data;
    }
}
